<?phpsession_start();include('database.php');

/*
Template Name: Template ADD Proposal
*/

	get_header();

	if (have_posts()) : while (have_posts()) : the_post(); 

	// GET CUSTOM SIDEBAR
	$sidebar = get_post_meta($post->ID, 'sidebar_value', true);

	?><head><link type="text/css" href="<?php echo bloginfo('template_url') ?>/jquery.keypad.css" rel="stylesheet"><link rel='stylesheet' type='text/css' href='<?php echo bloginfo('template_url') ?>/dashboard.css' /><link rel="stylesheet" type="text/css" href="<?php echo bloginfo('template_url') ?>/main_dashboard.css"/></head>	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><script type="text/javascript" src="<?php echo bloginfo('template_url') ?>/jquery.keypad.js"></script><br><br>    <div id="dolphincontainer">    <div id="dolphinnav">    <ul>    <li><a href="<?php echo bloginfo('url')?>/entrepreneur_dashboard/" title="" ><span>Dashboard</span></a></li>    <li><a href="<?php echo bloginfo('url')?>/add_proposal/" title="" class="current"><span>Add Proposal</span></a></li>	<li><a href="<?php echo bloginfo('url')?>/search_investor/" title="" ><span>Search Investor</span></a></li>	<li><a href="<?php echo bloginfo('url')?>/search_partner/" title="" ><span>Search Partner</span></a></li>    <li><a href="<?php echo bloginfo('url')?>/edit-profile/" title=""><span>Profile</span></a></li>	<li><a href="<?php echo bloginfo('url')?>/upgrade_plan/" title=""><span><font color=red>Upgrade Plan Now</font></span></a></li>	<li><a href="<?php echo bloginfo('url')?>/buy_nudge/" title="" ><span><font color=red>Buy Nudge</font></span></a></li>       </ul>    </div>    </div>
	<Script>$(document).ready(function(){var valid=false;$("#div_company_information").css("display","BLOCK");$("#div_pitch_and_deal").css("display","none");$("#div_team").css("display","none");$("#div_financial").css("display","none");//limit the maximum character$("#company_name").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>30) {     $(this).val(txtVal.substring(0,30) ) }});	 $("#website").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>30) {     $(this).val(txtVal.substring(0,30) ) }});	 $("#title_proposal").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>50) {     $(this).val(txtVal.substring(0,50) ) }});	 $("#short_summary").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>100) {     $(this).val(txtVal.substring(0,100) ) }});	 $("#pitch_and_deal").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>100) {     $(this).val(txtVal.substring(0,100) ) }});	 $("#highlight_1").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	 $("#highlight_2").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	 $("#highlight_3").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	 $("#highlight_4").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	 $("#highlight_5").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	 $("#the_deal").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>100) {     $(this).val(txtVal.substring(0,100) ) }});	$("#personal_name").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>20) {     $(this).val(txtVal.substring(0,20) ) }});	$("#position").keyup(function(e){txtVal = $(this).val();   if( txtVal.length>100) {     $(this).val(txtVal.substring(0,100) ) }});	 $("#company_information").click(function(){$("#div_company_information").slideToggle();$("#div_pitch_and_deal").css("display","none");$("#div_team").css("display","none");$("#div_financial").css("display","none");valid=false;});$("#pitch_and_deal").click(function(){$("#div_pitch_and_deal").slideToggle();$("#div_company_information").css("display","none");$("#div_team").css("display","none");$("#div_financial").css("display","none");valid=false;});$("#team").click(function(){$("#div_team").slideToggle();$("#div_company_information").css("display","none");$("#div_pitch_and_deal").css("display","none");$("#div_financial").css("display","none");valid=false;});$("#financial").click(function(){$("#div_financial").slideToggle();$("#div_company_information").css("display","none");$("#div_pitch_and_deal").css("display","none");$("#div_team").css("display","none");valid=false;});$("#add_proposal").click(function(){if($("#company_name").val() =='' || $("#location").val() =='' || $("#state").val() =='' || $("#industry_1").val() =='' || $("#total_raise").val() =='' || $("#title_proposal").val() =='' || $("#short_summary").val() =='' || $("#the_pitch").val() =='' || $("#the_deal").val() =='' || $("#the_team").val() =='' || $("#expertise").val() ==''){valid=false;window.alert('Please ensure that all mandatory fields are filled in and then click on Submit, Thanks');}else{valid=true;window.alert('Proposal has been added. Thanks');}});$("#form_add_proposal").submit(function() {if($("#company_name").val() ==''){$("#company_name").css("border-color","red");valid=false;}if($("#location").val() ==''){$("#location").css("border-color","red");valid=false;}if($("#state").val() ==''){$("#state").css("border-color","red");valid=false;}if($("#industry_1").val() ==''){$("#industry_1").css("border-color","red");valid=false;}if($("#total_raise").val() ==''){$("#total_raise").css("border-color","red");valid=false;}if($("#company_name").val() =='' || $("#location").val() =='' || $("#state").val() =='' || $("#industry_1").val() =='' || $("#total_raise").val() ==''){$("#company_information").css("border-color","red");valid=false;}if($("#title_proposal").val() ==''){$("#title_proposal").css("border-color","red");valid=false;}if($("#short_summary").val() ==''){$("#short_summary").css("border-color","red");valid=false;}if($("#the_pitch").val() ==''){$("#the_pitch").css("border-color","red");valid=false;}if($("#the_deal").val() ==''){$("#the_deal").css("border-color","red");valid=false;}if($("#title_proposal").val() =='' || $("#short_summary").val() =='' || $("#the_pitch").val() =='' || $("#the_deal").val() ==''){$("#pitch_and_deal").css("border-color","red");valid=false;}if($("#the_team").val() ==''){$("#the_team").css("border-color","red");valid=false;}if($("#expertise").val() ==''){$("#expertise").css("border-color","red");valid=false;}if($("#the_team").val() =='' || $("#expertise").val() ==''){$("#team").css("border-color","red");valid=false;}if($("#company_name").val() !=''){$("#company_name").css("border-color","rgb(212,212,212)");}if($("#title_proposal").val() !=''){$("#title_proposal").css("border-color","rgb(212,212,212)");}if($("#short_summary").val() !=''){$("#short_summary").css("border-color","rgb(212,212,212)");}if($("#the_deal").val() !=''){$("#the_deal").css("border-color","rgb(212,212,212)");}if($("#the_team").val() !=''){$("#the_team").css("border-color","rgb(212,212,212)");}if($("#expertise").val() !=''){$("#expertise").css("border-color","rgb(212,212,212)");}if($("#the_pitch").val() !=''){$("#the_pitch").css("border-color","rgb(212,212,212)");}if($("#total_raise").val() !=''){$("#total_raise").css("border-color","rgb(212,212,212)");}if($("#state").val() !=''){$("#state").css("border-color","rgb(212,212,212)");}if($("#industry_1").val() !=''){$("#industry_1").css("border-color","rgb(212,212,212)");}if($("#location").val() !=''){$("#location").css("border-color","rgb(212,212,212)");}if($("#company_name").val() !='' && $("#location").val() !='' && $("#state").val() !='' && $("#industry_1").val() !=''){$("#company_information").css("border-color","rgb(212,212,212)");}if($("#title_proposal").val() !='' && $("#short_summary").val() !='' && $("#the_pitch").val() !='' && $("#the_deal").val() !=''){$("#pitch_and_deal").css("border-color","rgb(212,212,212)");}if($("#the_team").val() !='' && $("#expertise").val() !=''){$("#team").css("border-color","rgb(212,212,212)");}if(valid){return true;}else{return false;}});});</script>	
	<div id="content">

		<div class="contentbox <?php
			if ($sidebar == 'No sidebar') :

				echo'wfull';

			elseif ($sidebar == 'Buddy Sidebar') :

				echo'w720';

			else :

				echo'w620';

			endif; ?>"></br><font style="font-size:30px"><b><center>ADD Business Proposal</b></font></br><br><form action="<?php echo bloginfo('template_url') ?>/add_proposal_process.php" method="POST" name="form_add_proposal" id="form_add_proposal"   ><table><br><tr>
<td><button id="company_information" style="width:100%;height:30px"  value=""  >Company Information</button></td></tr><tr><table id="div_company_information"><tr><td>Company Name * :</td><td><input type="text" name="company_name" id="company_name" value="" style="height:25px; font-size:13pt" /><br><font style="font-size:12px">Maximum 30 characters</font></td></tr><tr><td>Website :</td><td><input type="text" name="website" id="website" value="" style="height:25px; font-size:13pt" /><br><font style="font-size:12px">Maximum 30 characters</font></td></tr><tr><td>Country * :</td><td><script type="text/javascript">$(document).ready(function() {    	$("#location").change(function() {		$(this).after('<div id="loader"><img src="<?php echo bloginfo('template_url'); ?>/images/loading.gif" alt="loading State..." /></div>');		$.get('<?php echo bloginfo('template_url'); ?>/country.php?status=entrepreneur&country=' + $(this).val(), function(data) {			$("#state").html(data);			$('#loader').slideUp(200, function() {				$(this).remove();			});		});	    });});</script><select id="location" name="location"  style="height:25px; font-size:13pt" ><option  value="">Choose One</option><?php  $q_get_country= "select country_name,country_id from country_entrepreneur";$hq_get_country= mysql_db_query($DataBase,$q_get_country);while(list($country,$id) = mysql_fetch_row($hq_get_country)){?>							<option  value="<?php echo $country; ?>"><?php  echo $country; ?></option><?php  } ?>									</select></td></tr><tr><td>State * :</td><td><select id="state" name="state"  style="height:25px; font-size:13pt" ></select></td></tr><tr><td>Industry * :</td><td><select id="industry_1" name="industry_1"  style="height:25px; font-size:13pt" >							<option value="">Select One</option>							<option value="Real Estate">Real Estate</option>							<option value="Information Technology">Information Technology</option>							<option value="Food and beverage Industry">Food and beverage Industry</option>							<option value="Tourism Hospitality, Restaurants & Bars">Tourism Hospitality, Restaurants & Bars</option>							<option value="Manufacturing">Manufacturing</option>							<option value="E-Commerce">E-Commerce</option>							<option value="Entertainment">Entertainment</option>							<option value="Pharmacy">Pharmacy</option>							<option value="Personal-care">Personal-care</option>							<option value="Education and Training">Education and Training</option>							<option value="Leisure, Tourism &Hotels">Leisure, Tourism & Hotels</option>							<option value="Transportation">Transportation</option>							<option value="Agriculture">Agriculture</option>							<option value="Building Services & Products">Building Services & Products</option>							<option value="Financial, Business & Legal Services">Financial, Business & Legal Services</option>							<option value="Security & Defense">Security & Defense</option>							<option value="Mining, Oil & Gas">Mining, Oil & Gas</option>							<option value="Retail">Retail</option>							<option value="Marketing & Advertising">Marketing & Advertising</option>							<option value="Fashion & Beauty">Fashion & Beauty</option>							<option value="Aviation">Aviation</option>							<option value="Media & Publishing">Media & Publishing</option>							<option value="Biotechnology& Life Sciences">Biotechnology& Life Sciences</option>							<option value="Telecom & Mobile">Telecom & Mobile</option>							<option value="Others">Others</option>							</select></td></tr>						<tr><td>Primary Reason Needed Capital :</td><td><select id="reason" name="reason"  style="height:25px; font-size:13pt" >							<option value="">Select One</option>							<option value="research and ievelopment">Research and Development</option>							<option value="sales and marketing">Sales and Marketing</option>							<option value="property">Property</option>							<option value="Equipment and inventory">Equipment and Inventory</option>							<option value="debt refinance">Debt Refinance</option>							<option value="web development">Web Development</option>							<option value="acquisition">Acquisition</option>							<option value="staff">Staff</option>							<option value="other">Other</option>							</select></td></tr>								<tr><td>Stage :</td><td><select id="stage" name="stage"  style="height:25px; font-size:13pt" >							<option value="">Select One</option>							<option value="pre-startup/R&D">Pre-Startup / R&D</option>							<option value="finished product">Finished Product</option>							<option value="achieving sales">Achieving Sales</option>							<option value="breaking even">Breaking Even</option>							<option value="profitable">Profitable</option>							</select></td></tr>								<tr><td>Ideal Investor Role :</td><td><select id="investor_role" name="investor_role"  style="height:25px; font-size:13pt" >							<option value="">Select One</option>							<option value="Silent">Silent</option>							<option value="daily involvement">Daily Involvement</option>							<option value="weekly involvement">Weekely Involvement</option>							<option value="monthly involvement">Monthly Involvement</option>							<option value="any">any</option>							</select></td></tr>	<script type="text/javascript">$(document).ready(function() {$("#previous_raise").click(function(){	$("#previous_raise").keypad();	});$("#total_raise").click(function(){	$("#total_raise").keypad();	});$("#total_have_you_raised").click(function(){	$("#total_have_you_raised").keypad();	});$("#minimum_investment").click(function(){	$("#minimum_investment").keypad();	});});</script><tr><td>If you did a previous round, how much did you raise?</td><td>S$ <input type="text" name="previous_raise" id="previous_raise" value="" style="height:25px; width:150px; font-size:13pt" /></td></tr>	<tr><td>Capital Needed * : </td><td>S$ <input type="text" name="total_raise" id="total_raise" value="" style="height:25px; width:150px; font-size:13pt" /></td></tr>	<tr><td>How much of this total have you raised?</td><td>S$ <input type="text" name="total_have_you_raised" id="total_have_you_raised" value="" style="height:25px; width:150px; font-size:13pt" /></td></tr>	<tr><td>What is the minimum investment per investor?</td><td>S$ <input type="text" name="minimum_investment" id="minimum_investment" value="" style="height:25px; width:150px; font-size:13pt" /></td></tr>							</table></tr><tr><br><td><button id="pitch_and_deal" style="width:100%;height:30px" >Pitch & Deal</button></td></tr><tr><table id="div_pitch_and_deal"><tr><td>Title * :</td><td><input type="text" name="title_proposal" id="title_proposal" value="" style="height:25px; width:500px; font-size:13pt" /><br><font style="font-size:12px">Maximum 50 characters</font></td></tr><tr><td>Short Summary * :</td><td><textarea name="short_summary" id="short_summary" style="height:55px; font-size:13pt" ></textarea><br><font style="font-size:12px">Maximum 100 characters</font></td></tr><tr><td>The Pitch * :</td><td><textarea name="the_pitch" id="the_pitch" value="" style="height:100px; font-size:13pt" ></textarea><br><font style="font-size:12px">Maximum 100 characters</font></td></tr><tr><td>Highlight 1 :</td><td><input type="text" name="highlight_1" id="highlight_1" value="" style="height:25px; width:500px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>Highlight 2 :</td><td><input type="text" name="highlight_2" id="highlight_2" value="" style="height:25px; width:500px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>Highlight 3 :</td><td><input type="text" name="highlight_3" id="highlight_3" value="" style="height:25px; width:500px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>Highlight 4 :</td><td><input type="text" name="highlight_4" id="highlight_4" value="" style="height:25px; width:500px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>Highlight 5 :</td><td><input type="text" name="highlight_5" id="highlight_5" value="" style="height:25px; width:500px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>The Deal * :</td><td><textarea name="the_deal" id="the_deal" value="" style="height:60px; font-size:13pt" ></textarea><br><font style="font-size:12px">Maximum 100 characters</font></td></tr></table></tr><tr><br><br><td><button id="team" style="width:100%;height:30px">Team</button></td></tr><tr><table id="div_team"><tr><td>The Team * :</td><td><textarea name="the_team" id="the_team" value="" style="height:60px; width:500px; font-size:13pt" ></textarea><br><font style="font-size:12px">Maximum 100 characters</font></td></tr><tr><td>Name :</td><td><input type="text" name="personal_name" id="personal_name" value="" style="height:25px;  font-size:13pt" /><br><font style="font-size:12px">Maximum 20 characters</font></td></tr><tr><td>Linkedin / Website :</td><td><input type="text" name="linkedin" id="linkedin" value="" style="height:25px;  font-size:13pt" /></td></tr><tr><td>Main Expertise * :</td><td><select id="expertise" name="expertise"  style="height:25px; font-size:13pt" >							<option value="">Select One</option><?php$q_get_data= "select expertise_name from expertise";$hq_get_data= mysql_db_query($DataBase,$q_get_data);while(list($expertise) = mysql_fetch_row($hq_get_data)){?>	<option value="<?php echo $expertise; ?>"><?php echo $expertise; ?></option><?php}?>												</select></td></tr><tr><td>Position :</td><td><textarea name="position" id="position" value="" style="height:100px; font-size:13pt" ></textarea><br><font style="font-size:12px">Maximum 100 characters</font></td></tr></table></tr><br><br><td><button id="financial" style="width:100%;height:30px">Financial (OPTIONAL)</button></td><tr><table id="div_financial"><script>$(document).ready(function(){function isNumber (o) {  return ! isNaN (o-0);}$("#previous_turnover_2").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#previous_turnover_1").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#previous_turnover_3").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#previous_profit_1").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#previous_profit_2").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#previous_profit_3").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_turnover_2").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_turnover_1").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_turnover_3").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_profit_1").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_profit_2").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});$("#projected_profit_3").keyup(function(e){txtVal = $(this).val();   if(!isNumber(txtVal)) {     $(this).val('') }});});</script><tr><td colspan=3><b>Previous Financials:</b></td></tr><tr><td width="200px">Years</td><td width="400px">TurnOver</td><td width="400px">Profit</td></tr><tr><td><select id="previous_year_1" name="previous_year_1"  style="height:25px; font-size:13pt" >							<option value="2013">2013</option>							<option value="2012">2012</option>							<option value="2011">2011</option>							<option value="2010">2010</option>							<option value="2009">2009</option>							<option value="2008">2008</option>							<option value="2007">2007</option>							<option value="2006">2006</option>							<option value="2005">2005</option>							<option value="2004">2004</option>							</select></td><td>S$ <input type="text" name="previous_turnover_1" id="previous_turnover_1" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="previous_profit_1" id="previous_profit_1" value="" style="width:150px; height:20px; font-size:15px" /></td></tr><tr><td><select id="previous_year_2" name="previous_year_2"  style="height:25px; font-size:13pt" >							<option value="2013">2013</option>							<option value="2012">2012</option>							<option value="2011">2011</option>							<option value="2010">2010</option>							<option value="2009">2009</option>							<option value="2008">2008</option>							<option value="2007">2007</option>							<option value="2006">2006</option>							<option value="2005">2005</option>							<option value="2004">2004</option>							</select></td><td>S$ <input type="text" name="previous_turnover_2" id="previous_turnover_2" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="previous_profit_2" id="previous_profit_2" value="" style="width:150px; height:20px; font-size:15px" /></td></tr><tr><td><select id="previous_year_3" name="previous_year_3"  style="height:25px; font-size:13pt" >							<option value="2013">2013</option>							<option value="2012">2012</option>							<option value="2011">2011</option>							<option value="2010">2010</option>							<option value="2009">2009</option>							<option value="2008">2008</option>							<option value="2007">2007</option>							<option value="2006">2006</option>							<option value="2005">2005</option>							<option value="2004">2004</option>							</select></td><td>S$ <input type="text" name="previous_turnover_3" id="previous_turnover_3" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="previous_profit_3" id="previous_profit_3" value="" style="width:150px; height:20px; font-size:15px" /></td></tr><tr><td colspan=3><b>Projected Financials:</b></td></tr><tr><td>Years</td><td>TurnOver</td><td>Profit</td></tr><tr><td><select id="projected_year_1" name="projected_year_1"  style="height:25px; font-size:13pt" >							<option value="2014">2014</option>							<option value="2015">2015</option>							<option value="2016">2016</option>							<option value="2017">2017</option>							<option value="2018">2018</option>							<option value="2019">2019</option>							<option value="2020">2020</option>							<option value="2021">2021</option>							<option value="2022">2022</option>							<option value="2023">2023</option>							</select></td><td>S$ <input type="text" name="projected_turnover_1" id="projected_turnover_1" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="projected_profit_1" id="projected_profit_1" value="" style="width:150px; height:20px; font-size:15px" /></td></tr><tr><td><select id="projected_year_2" name="projected_year_2"  style="height:25px; font-size:13pt" >							<option value="2014">2014</option>							<option value="2015">2015</option>							<option value="2016">2016</option>							<option value="2017">2017</option>							<option value="2018">2018</option>							<option value="2019">2019</option>							<option value="2020">2020</option>							<option value="2021">2021</option>							<option value="2022">2022</option>							<option value="2023">2023</option>							</select></td><td>S$ <input type="text" name="projected_turnover_2" id="projected_turnover_2" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="projected_profit_2" id="projected_profit_2" value="" style="width:150px; height:20px; font-size:15px" /></td></tr><tr><td><select id="projected_year_3" name="projected_year_3"  style="height:25px; font-size:13pt" >							<option value="2014">2014</option>							<option value="2015">2015</option>							<option value="2016">2016</option>							<option value="2017">2017</option>							<option value="2018">2018</option>							<option value="2019">2019</option>							<option value="2020">2020</option>							<option value="2021">2021</option>							<option value="2022">2022</option>							<option value="2023">2023</option>							</select></td><td>S$ <input type="text" name="projected_turnover_3" id="projected_turnover_3" value="" style="width:150px; height:20px; font-size:15px" /></td><td>S$ <input type="text" name="projected_profit_3" id="projected_profit_3" value="" style="width:150px; height:20px; font-size:15px" /></td></tr></table></tr>		</table>				<br><font color=red><p>Note: * is mandatory.</p></font>	<center><input type="submit" align="center" name="add_proposal" id="add_proposal" value="Submit" style="height:40px;  font-size:13pt; text-transform: none;  "  /></center>			</form>									
			<?php
				// CONTENT
				//the_content();

				echo '<div class="clear h20"><!-- --></div>';
				
				// PAGINATION
				wp_link_pages(array('before' => '<p><strong>'.__( 'Pages','pandathemes' ).':</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
				
				// COMMENTS ETC.
				if ( $theme_options['pages_metas'] == 'enable' ) : comments_template(); endif;

	endwhile;

		else : echo '<div class="contentbox w620"><h2>404</h2><p>'.__('Sorry, no posts matched your criteria.','pandathemes').'</p>';

	endif; ?>

	</div> <!-- end_of_contentbox -->

		<?php
			// SIDEBAR
			if ($sidebar == 'Buddy Sidebar') :
				include(TEMPLATEPATH.'/inc/sidebar_buddy.php');
			else :
				include(TEMPLATEPATH.'/inc/sidebar.php');
			endif;

	get_footer();

?>